package com.ctshk.rpc.cms.req;

import com.ctshk.rpc.cms.dto.LinkTypeDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="BannerUpdateReq", description="BannerUpdateReq")
public class BannerUpdateReq implements Serializable {
    private static final long serialVersionUID = -6507657747416849306L;

    @ApiModelProperty(value = "id",required = true)
    private Long id;

    @ApiModelProperty(value = "banner名称",required = true)
    private String bannerName;

    @ApiModelProperty(value = "banner位id",required = true)
    private Long bannerPositionId;

    @ApiModelProperty(value = "banner位置名称",required = true)
    private String bannerPositionName;

    @ApiModelProperty(value = "标题名称",required = true)
    private String title;

    @ApiModelProperty(value = "状态",required = true)
    private Integer status;

    @ApiModelProperty(value = "排序",required = true)
    private Integer sort;

    @ApiModelProperty(value = "Banner图url地址",required = true)
    private String bannerUrl;

    @ApiModelProperty(value = "链接类型",required = true)
    private LinkTypeDTO linkTypeDto;
}
